<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=basePath%>/css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
	<tr valign="top">
		<td>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
				<tr>
					<td style="padding-top:2px;padding-left:6px;padding-right:6px;padding-bottom:2px;">
						<table width="100%" cellpadding="2" cellspacing="0" class="dataTable">
							<tr ztype="head" class="dataTableHead">
								<td width="7%"><strong>订单号</strong></td>
								<td width="10%"><strong>履行对象名称</strong></td>
								<td width="7%"><strong>使用状态</strong></td>
								<td width="12%"><strong>刷码时间</strong></td>
								<td width="7%"><strong>游玩日期</strong></td>
								<td width="7%"><strong>有效期</strong></td>
								<td width="20%"><strong>终端打印信息</strong></td>
							</tr>
							<c:forEach items="${passPortList}" var="p">
								<tr>
									<td>${p.orderId}</td>
									<td>${p.targetName}</td>
									<td>${p.status}</td>
									<td><fmt:formatDate value="${p.usedTime}" type="both" pattern="yyyy-MM-dd HH:mm:ss" /></td>
									<td><fmt:formatDate value="${p.validTime}" type="both" pattern="yyyy-MM-dd" /></td>
									<td><fmt:formatDate value="${p.invalidTime}" type="both" pattern="yyyy-MM-dd" /></td>
									<td height="50">${p.terminalContent}</td>
								</tr>			
							</c:forEach>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</html>
